#region Using Statements
using System;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
#endregion

namespace MilwormsGameData
{
    public class Gift : Equipment
    {
        #region Content Type Reader
        
        /// <summary>
        /// Read the Gift type from the content pipeline.
        /// </summary>
        public class GiftReader : ContentTypeReader<Gift>
        {
            protected override Gift Read(ContentReader input, Gift existingInstance)
            {
                Gift gift = existingInstance;

                if (gift == null)
                {
                    gift = new Gift();
                }

                // read the gear settings
                input.ReadRawObject<Equipment>(gift as Equipment);

                return gift;
            }
        }


        #endregion
    }
}
